package com.wicket.okrapp.web.contorller;

import com.github.pagehelper.Page;
import com.wicket.okrapp.biz.service.AchievementService;
import com.wicket.okrapp.biz.service.dto.req.*;
import com.wicket.okrapp.biz.service.dto.res.*;
import com.wicket.okrapp.common.ro.OkrResult;
import com.wicket.okrapp.common.util.CommonFunctionHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@RestController
@RequestMapping("/app/achievement/")
public class AchievementController {

  @Autowired
  AchievementService achievementService;
/**
   * D3查询成果等级列表(公共)
   */
    @PostMapping("queryAchievementGradeListCom")
    public OkrResult<QueryAchievementGradeListComRespDto> queryAchievementGradeListCom(@RequestBody @Validated QueryAchievementGradeListComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementGradeListCom(reqDTO));
    }
/**
   * D3批量查询成果等级By主键(公共)
   */
    @PostMapping("batchQueryAchievementGradeByEntityCom")
    public OkrResult<BatchQueryAchievementGradeByEntityComRespDto> batchQueryAchievementGradeByEntityCom(@RequestBody @Validated BatchQueryAchievementGradeByEntityComReqDto reqDTO){
    return OkrResult.success(achievementService.batchQueryAchievementGradeByEntityCom(reqDTO));
    }
/**
   * D3新增成果类型(公共)
   */
    @PostMapping("addAchievementTypeCom")
    public OkrResult<AddAchievementTypeComRespDto> addAchievementTypeCom(@RequestBody @Validated AddAchievementTypeComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementTypeCom(reqDTO));
    }
/**
   * D3查询成果类型详情(公共)
   */
    @PostMapping("queryAchievementTypeDetailCom")
    public OkrResult<QueryAchievementTypeDetailComRespDto> queryAchievementTypeDetailCom(@RequestBody @Validated QueryAchievementTypeDetailComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementTypeDetailCom(reqDTO));
    }
/**
   * D3新增成果类型
   */
    @PostMapping("addAchievementType")
    public OkrResult<AddAchievementTypeRespDto> addAchievementType(@RequestBody @Validated AddAchievementTypeReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementType(reqDTO));
    }
/**
   * D3新增成果类别(公共)
   */
    @PostMapping("addAchievementCategoryCom")
    public OkrResult<AddAchievementCategoryComRespDto> addAchievementCategoryCom(@RequestBody @Validated AddAchievementCategoryComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementCategoryCom(reqDTO));
    }
/**
   * D3新增成果类别业务处理(公共)
   */
    @PostMapping("addAchievementCategoryBusinessHandleCom")
    public OkrResult<AddAchievementCategoryBusinessHandleComRespDto> addAchievementCategoryBusinessHandleCom(@RequestBody @Validated AddAchievementCategoryBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementCategoryBusinessHandleCom(reqDTO));
    }
/**
   * D3查询成果类别详情(公共)
   */
    @PostMapping("queryAchievementCategoryDetailCom")
    public OkrResult<QueryAchievementCategoryDetailComRespDto> queryAchievementCategoryDetailCom(@RequestBody @Validated QueryAchievementCategoryDetailComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementCategoryDetailCom(reqDTO));
    }
/**
   * D3查询成果等级详情(公共)
   */
    @PostMapping("queryAchievementGradeDetailCom")
    public OkrResult<QueryAchievementGradeDetailComRespDto> queryAchievementGradeDetailCom(@RequestBody @Validated QueryAchievementGradeDetailComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementGradeDetailCom(reqDTO));
    }
/**
   * D3新增成果等级(公共)
   */
    @PostMapping("addAchievementGradeCom")
    public OkrResult<AddAchievementGradeComRespDto> addAchievementGradeCom(@RequestBody @Validated AddAchievementGradeComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementGradeCom(reqDTO));
    }
/**
   * D3查询成果类型等级关系列表(公共)
   */
    @PostMapping("queryAchievementTypeGradeRelationshipListCom")
    public OkrResult<QueryAchievementTypeGradeRelationshipListComRespDto> queryAchievementTypeGradeRelationshipListCom(@RequestBody @Validated QueryAchievementTypeGradeRelationshipListComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementTypeGradeRelationshipListCom(reqDTO));
    }
/**
   * D3新增成果等级
   */
    @PostMapping("addAchievementGrade")
    public OkrResult<AddAchievementGradeRespDto> addAchievementGrade(@RequestBody @Validated AddAchievementGradeReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementGrade(reqDTO));
    }
/**
   * D3新增成果类型等级关系(公共)
   */
    @PostMapping("addAchievementTypeGradeRelationshipCom")
    public OkrResult<AddAchievementTypeGradeRelationshipComRespDto> addAchievementTypeGradeRelationshipCom(@RequestBody @Validated AddAchievementTypeGradeRelationshipComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementTypeGradeRelationshipCom(reqDTO));
    }
/**
   * D3修改成果类别(公共)
   */
    @PostMapping("updateAchievementCategoryCom")
    public OkrResult<UpdateAchievementCategoryComRespDto> updateAchievementCategoryCom(@RequestBody @Validated UpdateAchievementCategoryComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementCategoryCom(reqDTO));
    }
/**
   * D3查询成果类型列表(公共)
   */
    @PostMapping("queryAchievementTypeListCom")
    public OkrResult<QueryAchievementTypeListComRespDto> queryAchievementTypeListCom(@RequestBody @Validated QueryAchievementTypeListComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementTypeListCom(reqDTO));
    }
/**
   * D3修改成果类别业务处理(公共)
   */
    @PostMapping("updateAchievementCategoryBusinessHandleCom")
    public OkrResult<UpdateAchievementCategoryBusinessHandleComRespDto> updateAchievementCategoryBusinessHandleCom(@RequestBody @Validated UpdateAchievementCategoryBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementCategoryBusinessHandleCom(reqDTO));
    }
/**
   * D3查询成果类型等级关系列表
   */
    @PostMapping("queryAchievementTypeGradeRelationshipList")
    public OkrResult<QueryAchievementTypeGradeRelationshipListRespDto> queryAchievementTypeGradeRelationshipList(@RequestBody @Validated QueryAchievementTypeGradeRelationshipListReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementTypeGradeRelationshipList(reqDTO));
    }
/**
   * D3删除成果类别(公共)
   */
    @PostMapping("deleteAchievementCategoryCom")
    public OkrResult<DeleteAchievementCategoryComRespDto> deleteAchievementCategoryCom(@RequestBody @Validated DeleteAchievementCategoryComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementCategoryCom(reqDTO));
    }
/**
   * D3删除成果类别业务处理(公共)
   */
    @PostMapping("deleteAchievementCategoryBusinessHandleCom")
    public OkrResult<DeleteAchievementCategoryBusinessHandleComRespDto> deleteAchievementCategoryBusinessHandleCom(@RequestBody @Validated DeleteAchievementCategoryBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementCategoryBusinessHandleCom(reqDTO));
    }
/**
   * D3查询成果类别列表(公共)
   */
    @PostMapping("queryAchievementCategoryListCom")
    public OkrResult<QueryAchievementCategoryListComRespDto> queryAchievementCategoryListCom(@RequestBody @Validated QueryAchievementCategoryListComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementCategoryListCom(reqDTO));
    }
/**
   * D3删除成果等级(公共)
   */
    @PostMapping("deleteAchievementGradeCom")
    public OkrResult<DeleteAchievementGradeComRespDto> deleteAchievementGradeCom(@RequestBody @Validated DeleteAchievementGradeComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementGradeCom(reqDTO));
    }
/**
   * D3新增成果类型业务处理
   */
    @PostMapping("addAchievementTypeBusinessHandle")
    public OkrResult<AddAchievementTypeBusinessHandleRespDto> addAchievementTypeBusinessHandle(@RequestBody @Validated AddAchievementTypeBusinessHandleReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementTypeBusinessHandle(reqDTO));
    }
/**
   * D3新增成果等级业务处理
   */
    @PostMapping("addAchievementGradeBusinessHandle")
    public OkrResult<AddAchievementGradeBusinessHandleRespDto> addAchievementGradeBusinessHandle(@RequestBody @Validated AddAchievementGradeBusinessHandleReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementGradeBusinessHandle(reqDTO));
    }
/**
   * D3删除成果等级业务处理
   */
    @PostMapping("deleteAchievementGradeBusinessHandle")
    public OkrResult<DeleteAchievementGradeBusinessHandleRespDto> deleteAchievementGradeBusinessHandle(@RequestBody @Validated DeleteAchievementGradeBusinessHandleReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementGradeBusinessHandle(reqDTO));
    }
/**
   * D3删除成果类型(公共)
   */
    @PostMapping("deleteAchievementTypeCom")
    public OkrResult<DeleteAchievementTypeComRespDto> deleteAchievementTypeCom(@RequestBody @Validated DeleteAchievementTypeComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementTypeCom(reqDTO));
    }
/**
   * D3删除成果类型业务处理
   */
    @PostMapping("deleteAchievementTypeBusinessHandle")
    public OkrResult<DeleteAchievementTypeBusinessHandleRespDto> deleteAchievementTypeBusinessHandle(@RequestBody @Validated DeleteAchievementTypeBusinessHandleReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementTypeBusinessHandle(reqDTO));
    }
/**
   * D3修改成果类型等级关系(公共)
   */
    @PostMapping("updateAchievementTypeGradeRelationshipCom")
    public OkrResult<UpdateAchievementTypeGradeRelationshipComRespDto> updateAchievementTypeGradeRelationshipCom(@RequestBody @Validated UpdateAchievementTypeGradeRelationshipComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementTypeGradeRelationshipCom(reqDTO));
    }
/**
   * D3修改成果类型(公共)
   */
    @PostMapping("updateAchievementTypeCom")
    public OkrResult<UpdateAchievementTypeComRespDto> updateAchievementTypeCom(@RequestBody @Validated UpdateAchievementTypeComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementTypeCom(reqDTO));
    }
/**
   * D3修改成果等级(公共)
   */
    @PostMapping("updateAchievementGradeCom")
    public OkrResult<UpdateAchievementGradeComRespDto> updateAchievementGradeCom(@RequestBody @Validated UpdateAchievementGradeComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementGradeCom(reqDTO));
    }
/**
   * D3修改成果类型业务处理(公共)
   */
    @PostMapping("updateAchievementTypeBusinessHandleCom")
    public OkrResult<UpdateAchievementTypeBusinessHandleComRespDto> updateAchievementTypeBusinessHandleCom(@RequestBody @Validated UpdateAchievementTypeBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementTypeBusinessHandleCom(reqDTO));
    }
/**
   * D3修改成果等级业务处理(公共)
   */
    @PostMapping("updateAchievementGradeBusinessHandleCom")
    public OkrResult<UpdateAchievementGradeBusinessHandleComRespDto> updateAchievementGradeBusinessHandleCom(@RequestBody @Validated UpdateAchievementGradeBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementGradeBusinessHandleCom(reqDTO));
    }
/**
   * D3批量改成果类型等级关系(公共)
   */
    @PostMapping("batchUpdateAchievementTypeGradeRelationshipCom")
    public OkrResult<BatchUpdateAchievementTypeGradeRelationshipComRespDto> batchUpdateAchievementTypeGradeRelationshipCom(@RequestBody @Validated BatchUpdateAchievementTypeGradeRelationshipComReqDto reqDTO){
    return OkrResult.success(achievementService.batchUpdateAchievementTypeGradeRelationshipCom(reqDTO));
    }
/**
   * D3修改成果团队(公共)
   */
    @PostMapping("updateAchievementTeamCom")
    public OkrResult<UpdateAchievementTeamComRespDto> updateAchievementTeamCom(@RequestBody @Validated UpdateAchievementTeamComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementTeamCom(reqDTO));
    }
/**
   * D3删除成果团队(公共)
   */
    @PostMapping("deleteAchievementTeamCom")
    public OkrResult<DeleteAchievementTeamComRespDto> deleteAchievementTeamCom(@RequestBody @Validated DeleteAchievementTeamComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementTeamCom(reqDTO));
    }
/**
   * D3查询成果团队列表(公共)
   */
    @PostMapping("queryAchievementTeamListCom")
    public OkrResult<QueryAchievementTeamListComRespDto> queryAchievementTeamListCom(@RequestBody @Validated QueryAchievementTeamListComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementTeamListCom(reqDTO));
    }
/**
   * D3新增成果团队(公共)
   */
    @PostMapping("addAchievementTeamCom")
    public OkrResult<AddAchievementTeamComRespDto> addAchievementTeamCom(@RequestBody @Validated AddAchievementTeamComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementTeamCom(reqDTO));
    }
/**
   * D3新增成果(公共)
   */
    @PostMapping("addAchievementCom")
    public OkrResult<AddAchievementComRespDto> addAchievementCom(@RequestBody @Validated AddAchievementComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementCom(reqDTO));
    }
/**
   * D3删除成果(公共)
   */
    @PostMapping("deleteAchievementCom")
    public OkrResult<DeleteAchievementComRespDto> deleteAchievementCom(@RequestBody @Validated DeleteAchievementComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementCom(reqDTO));
    }
/**
   * D3修改成果
   */
    @PostMapping("updateAchievement")
    public OkrResult<UpdateAchievementRespDto> updateAchievement(@RequestBody @Validated UpdateAchievementReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievement(reqDTO));
    }
/**
   * D3查询成果详情(公共)
   */
    @PostMapping("queryAchievementDetailCom")
    public OkrResult<QueryAchievementDetailComRespDto> queryAchievementDetailCom(@RequestBody @Validated QueryAchievementDetailComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementDetailCom(reqDTO));
    }
/**
   * D3查询成果列表(公共)
   */
    @PostMapping("queryAchievementListCom")
    public OkrResult<QueryAchievementListComRespDto> queryAchievementListCom(@RequestBody @Validated QueryAchievementListComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementListCom(reqDTO));
    }
/**
   * D3查询成果类型等级关系详情(公共)
   */
    @PostMapping("queryAchievementTypeGradeRelationshipDetailCom")
    public OkrResult<QueryAchievementTypeGradeRelationshipDetailComRespDto> queryAchievementTypeGradeRelationshipDetailCom(@RequestBody @Validated QueryAchievementTypeGradeRelationshipDetailComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementTypeGradeRelationshipDetailCom(reqDTO));
    }
/**
   * D3删除成果类型等级关系(公共)
   */
    @PostMapping("deleteAchievementTypeGradeRelationshipCom")
    public OkrResult<DeleteAchievementTypeGradeRelationshipComRespDto> deleteAchievementTypeGradeRelationshipCom(@RequestBody @Validated DeleteAchievementTypeGradeRelationshipComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementTypeGradeRelationshipCom(reqDTO));
    }
/**
   * D3删除成果类型等级关系业务处理
   */
    @PostMapping("deleteAchievementTypeGradeRelationshipBusinessHandle")
    public OkrResult<DeleteAchievementTypeGradeRelationshipBusinessHandleRespDto> deleteAchievementTypeGradeRelationshipBusinessHandle(@RequestBody @Validated DeleteAchievementTypeGradeRelationshipBusinessHandleReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementTypeGradeRelationshipBusinessHandle(reqDTO));
    }
/**
   * D3执行调整成果类型等级关系排序
   */
    @PostMapping("implementAdjustAchievementTypeGradeRelationshipBusinessHandle")
    public OkrResult<ImplementAdjustAchievementTypeGradeRelationshipBusinessHandleRespDto> implementAdjustAchievementTypeGradeRelationshipBusinessHandle(@RequestBody @Validated ImplementAdjustAchievementTypeGradeRelationshipBusinessHandleReqDto reqDTO){
    return OkrResult.success(achievementService.implementAdjustAchievementTypeGradeRelationshipBusinessHandle(reqDTO));
    }
/**
   * D3修改成果团队成员(公共)
   */
    @PostMapping("updateAchievementTeamMemberCom")
    public OkrResult<UpdateAchievementTeamMemberComRespDto> updateAchievementTeamMemberCom(@RequestBody @Validated UpdateAchievementTeamMemberComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementTeamMemberCom(reqDTO));
    }
/**
   * D3删除成果团队成员(公共)
   */
    @PostMapping("deleteAchievementTeamMemberCom")
    public OkrResult<DeleteAchievementTeamMemberComRespDto> deleteAchievementTeamMemberCom(@RequestBody @Validated DeleteAchievementTeamMemberComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementTeamMemberCom(reqDTO));
    }
/**
   * D3查询成果团队成员列表(公共)
   */
    @PostMapping("queryAchievementTeamMemberListCom")
    public OkrResult<QueryAchievementTeamMemberListComRespDto> queryAchievementTeamMemberListCom(@RequestBody @Validated QueryAchievementTeamMemberListComReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryAchievementTeamMemberListComRespDto retData = achievementService.queryAchievementTeamMemberListCom(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);

    }
/**
   * D3新增成果团队成员(公共)
   */
    @PostMapping("addAchievementTeamMemberCom")
    public OkrResult<AddAchievementTeamMemberComRespDto> addAchievementTeamMemberCom(@RequestBody @Validated AddAchievementTeamMemberComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementTeamMemberCom(reqDTO));
    }
/**
   * D3修改成果(公共)
   */
    @PostMapping("updateAchievementCom")
    public OkrResult<UpdateAchievementComRespDto> updateAchievementCom(@RequestBody @Validated UpdateAchievementComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementCom(reqDTO));
    }
/**
   * D3新增成果业务处理
   */
    @PostMapping("addAchievementBusinessHandle")
    public OkrResult<AddAchievementBusinessHandleRespDto> addAchievementBusinessHandle(@RequestBody @Validated AddAchievementBusinessHandleReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementBusinessHandle(reqDTO));
    }
/**
   * D3新增成果版权归属(公共)
   */
    @PostMapping("addAchievementCopyrightOwningCom")
    public OkrResult<AddAchievementCopyrightOwningComRespDto> addAchievementCopyrightOwningCom(@RequestBody @Validated AddAchievementCopyrightOwningComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementCopyrightOwningCom(reqDTO));
    }
/**
   * D3查询成果团队成员详情(公共)
   */
    @PostMapping("queryAchievementTeamMemberDetailCom")
    public OkrResult<QueryAchievementTeamMemberDetailComRespDto> queryAchievementTeamMemberDetailCom(@RequestBody @Validated QueryAchievementTeamMemberDetailComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementTeamMemberDetailCom(reqDTO));
    }
/**
   * D3修改成果业务处理(公共)
   */
    @PostMapping("updateAchievementBusinessHandleCom")
    public OkrResult<UpdateAchievementBusinessHandleComRespDto> updateAchievementBusinessHandleCom(@RequestBody @Validated UpdateAchievementBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementBusinessHandleCom(reqDTO));
    }
/**
   * D3新增成果团队成员业务处理(公共)
   */
    @PostMapping("addOutcomeTeamMembBusinessHandleCom")
    public OkrResult<AddOutcomeTeamMembBusinessHandleComRespDto> addOutcomeTeamMembBusinessHandleCom(@RequestBody @Validated AddOutcomeTeamMembBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.addOutcomeTeamMembBusinessHandleCom(reqDTO));
    }
/**
   * D3执行成果版权归属个人处理(公共)
   */
    @PostMapping("implementOutcomeCopyrightPersonalDisposeCom")
    public OkrResult<ImplementOutcomeCopyrightPersonalDisposeComRespDto> implementOutcomeCopyrightPersonalDisposeCom(@RequestBody @Validated ImplementOutcomeCopyrightPersonalDisposeComReqDto reqDTO){
    return OkrResult.success(achievementService.implementOutcomeCopyrightPersonalDisposeCom(reqDTO));
    }
/**
   * D3批量改成果团队成员(公共)
   */
    @PostMapping("batchUpdateAchievementTeamMemberCom")
    public OkrResult<BatchUpdateAchievementTeamMemberComRespDto> batchUpdateAchievementTeamMemberCom(@RequestBody @Validated BatchUpdateAchievementTeamMemberComReqDto reqDTO){
    return OkrResult.success(achievementService.batchUpdateAchievementTeamMemberCom(reqDTO));
    }
/**
   * D3执行成果发布(公共)
   */
    @PostMapping("implementAchievementPublishCom")
    public OkrResult<ImplementAchievementPublishComRespDto> implementAchievementPublishCom(@RequestBody @Validated ImplementAchievementPublishComReqDto reqDTO){
    return OkrResult.success(achievementService.implementAchievementPublishCom(reqDTO));
    }
/**
   * D3修改成果版权归属(公共)
   */
    @PostMapping("updateAchievementCopyrightOwningCom")
    public OkrResult<UpdateAchievementCopyrightOwningComRespDto> updateAchievementCopyrightOwningCom(@RequestBody @Validated UpdateAchievementCopyrightOwningComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchievementCopyrightOwningCom(reqDTO));
    }
/**
   * D3执行成果版权归属发布生效(公共)
   */
    @PostMapping("implementAchievementCopyrightOwnPublishCom")
    public OkrResult<ImplementAchievementCopyrightOwnPublishComRespDto> implementAchievementCopyrightOwnPublishCom(@RequestBody @Validated ImplementAchievementCopyrightOwnPublishComReqDto reqDTO){
    return OkrResult.success(achievementService.implementAchievementCopyrightOwnPublishCom(reqDTO));
    }
/**
   * D3执行成果团队成员发布生效(公共)
   */
    @PostMapping("implementAchievementTeamMemberPublishCom")
    public OkrResult<ImplementAchievementTeamMemberPublishComRespDto> implementAchievementTeamMemberPublishCom(@RequestBody @Validated ImplementAchievementTeamMemberPublishComReqDto reqDTO){
    return OkrResult.success(achievementService.implementAchievementTeamMemberPublishCom(reqDTO));
    }
/**
   * D3查询成果版权归属详情(公共)
   */
    @PostMapping("queryAchievementCopyrightOwningDetailCom")
    public OkrResult<QueryAchievementCopyrightOwningDetailComRespDto> queryAchievementCopyrightOwningDetailCom(@RequestBody @Validated QueryAchievementCopyrightOwningDetailComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementCopyrightOwningDetailCom(reqDTO));
    }
/**
   * D3查询成果版权归属列表(公共)
   */
    @PostMapping("queryAchievementCopyrightOwningListCom")
    public OkrResult<QueryAchievementCopyrightOwningListComRespDto> queryAchievementCopyrightOwningListCom(@RequestBody @Validated QueryAchievementCopyrightOwningListComReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryAchievementCopyrightOwningListComRespDto retData = achievementService.queryAchievementCopyrightOwningListCom(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);

    }
/**
   * D3批量删成果团队成员(公共)
   */
    @PostMapping("batchDeleteAchievementTeamMemberCom")
    public OkrResult<BatchDeleteAchievementTeamMemberComRespDto> batchDeleteAchievementTeamMemberCom(@RequestBody @Validated BatchDeleteAchievementTeamMemberComReqDto reqDTO){
    return OkrResult.success(achievementService.batchDeleteAchievementTeamMemberCom(reqDTO));
    }
/**
   * D3删除成果版权归属(公共)
   */
    @PostMapping("deleteAchievementCopyrightOwningCom")
    public OkrResult<DeleteAchievementCopyrightOwningComRespDto> deleteAchievementCopyrightOwningCom(@RequestBody @Validated DeleteAchievementCopyrightOwningComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementCopyrightOwningCom(reqDTO));
    }
/**
   * D3查询对接成果关系列表(公共)
   */
    @PostMapping("queryAchievementDockingListCom")
    public OkrResult<QueryAchievementDockingListComRespDto> queryAchievementDockingListCom(@RequestBody @Validated QueryAchievementDockingListComReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        QueryAchievementDockingListComRespDto retData = achievementService.queryAchievementDockingListCom(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);

    }
/**
   * D3批量改成果团队成员排序(公共)
   */
    @PostMapping("batchUpdateAchievementTeamMemberSortCom")
    public OkrResult<BatchUpdateAchievementTeamMemberSortComRespDto> batchUpdateAchievementTeamMemberSortCom(@RequestBody @Validated BatchUpdateAchievementTeamMemberSortComReqDto reqDTO){
    return OkrResult.success(achievementService.batchUpdateAchievementTeamMemberSortCom(reqDTO));
    }
/**
   * D3删除成果业务处理(公共)
   */
    @PostMapping("deleteAchievementBusinessHandleCom")
    public OkrResult<DeleteAchievementBusinessHandleComRespDto> deleteAchievementBusinessHandleCom(@RequestBody @Validated DeleteAchievementBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementBusinessHandleCom(reqDTO));
    }
/**
   * D3删除成果版权归属业务处理(公共)
   */
    @PostMapping("deleteAchievementCopyrightOwningBusinessHandleCom")
    public OkrResult<DeleteAchievementCopyrightOwningBusinessHandleComRespDto> deleteAchievementCopyrightOwningBusinessHandleCom(@RequestBody @Validated DeleteAchievementCopyrightOwningBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementCopyrightOwningBusinessHandleCom(reqDTO));
    }
/**
   * D3删除成果团队成员业务处理(公共)
   */
    @PostMapping("deleteOutcomeTeamMembBusinessHandleCom")
    public OkrResult<DeleteOutcomeTeamMembBusinessHandleComRespDto> deleteOutcomeTeamMembBusinessHandleCom(@RequestBody @Validated DeleteOutcomeTeamMembBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteOutcomeTeamMembBusinessHandleCom(reqDTO));
    }
/**
   * D3批量查询成果类型及等级等信息(公共)
   */
    @PostMapping("batchQueryAchievementTypeAndLevelEtcInfoCom")
    public OkrResult<BatchQueryAchievementTypeAndLevelEtcInfoComRespDto> batchQueryAchievementTypeAndLevelEtcInfoCom(@RequestBody @Validated BatchQueryAchievementTypeAndLevelEtcInfoComReqDto reqDTO){
    return OkrResult.success(achievementService.batchQueryAchievementTypeAndLevelEtcInfoCom(reqDTO));
    }
/**
   * D3批量查询成果类型By主键(公共)
   */
    @PostMapping("batchQueryAchievementTypeByEntityCom")
    public OkrResult<BatchQueryAchievementTypeByEntityComRespDto> batchQueryAchievementTypeByEntityCom(@RequestBody @Validated BatchQueryAchievementTypeByEntityComReqDto reqDTO){
    return OkrResult.success(achievementService.batchQueryAchievementTypeByEntityCom(reqDTO));
    }
/**
   * D3批量查询成果类别By主键(公共)
   */
    @PostMapping("batchQueryAchievementCategoryByEntityCom")
    public OkrResult<BatchQueryAchievementCategoryByEntityComRespDto> batchQueryAchievementCategoryByEntityCom(@RequestBody @Validated BatchQueryAchievementCategoryByEntityComReqDto reqDTO){
    return OkrResult.success(achievementService.batchQueryAchievementCategoryByEntityCom(reqDTO));
    }
/**
   * D3批量查询对接成果关系by一级指标(公共)
   */
    @PostMapping("batchQueryAchievementDockingByRootObjectiveIdCom")
    public OkrResult<BatchQueryAchievementDockingByRootObjectiveIdComRespDto> batchQueryAchievementDockingByRootObjectiveIdCom(@RequestBody @Validated BatchQueryAchievementDockingByRootObjectiveIdComReqDto reqDTO){
    return OkrResult.success(achievementService.batchQueryAchievementDockingByRootObjectiveIdCom(reqDTO));
    }
/**
   * D3新增对接成果关系(公共)
   */
    @PostMapping("addAchievementDockingCom")
    public OkrResult<AddAchievementDockingComRespDto> addAchievementDockingCom(@RequestBody @Validated AddAchievementDockingComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementDockingCom(reqDTO));
    }
/**
   * D3删除对接成果关系(公共)
   */
    @PostMapping("deleteAchievementDockingCom")
    public OkrResult<DeleteAchievementDockingComRespDto> deleteAchievementDockingCom(@RequestBody @Validated DeleteAchievementDockingComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementDockingCom(reqDTO));
    }
/**
   * D3新增对接成果关系业务处理(公共)
   */
    @PostMapping("addAchievementDockingBusinessHandleCom")
    public OkrResult<AddAchievementDockingBusinessHandleComRespDto> addAchievementDockingBusinessHandleCom(@RequestBody @Validated AddAchievementDockingBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementDockingBusinessHandleCom(reqDTO));
    }
/**
   * D3查询成果版权归属信息(公共)
   */
    @PostMapping("queryAchievementCopyrightOwnInfoDetailCom")
    public OkrResult<QueryAchievementCopyrightOwnInfoDetailComRespDto> queryAchievementCopyrightOwnInfoDetailCom(@RequestBody @Validated QueryAchievementCopyrightOwnInfoDetailComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementCopyrightOwnInfoDetailCom(reqDTO));
    }
/**
   * D3删除对接成果关系业务处理(公共)
   */
    @PostMapping("deleteAchievementDockingBusinessHandleCom")
    public OkrResult<DeleteAchievementDockingBusinessHandleComRespDto> deleteAchievementDockingBusinessHandleCom(@RequestBody @Validated DeleteAchievementDockingBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteAchievementDockingBusinessHandleCom(reqDTO));
    }
/**
   * D3查询对接成果关系详情(公共)
   */
    @PostMapping("queryAchievementDockingDetailCom")
    public OkrResult<QueryAchievementDockingDetailComRespDto> queryAchievementDockingDetailCom(@RequestBody @Validated QueryAchievementDockingDetailComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementDockingDetailCom(reqDTO));
    }
/**
   * D3查询成果信息详情(公共)
   */
    @PostMapping("queryAchievementInfoDetailCom")
    public OkrResult<QueryAchievementInfoDetailComRespDto> queryAchievementInfoDetailCom(@RequestBody @Validated QueryAchievementInfoDetailComReqDto reqDTO){
    return OkrResult.success(achievementService.queryAchievementInfoDetailCom(reqDTO));
    }
/**
   * D3批量查询成果(公共)
   */
    @PostMapping("batchQueryAchievementCom")
    public OkrResult<BatchQueryAchievementComRespDto> batchQueryAchievementCom(@RequestBody @Validated BatchQueryAchievementComReqDto reqDTO){
    return OkrResult.success(achievementService.batchQueryAchievementCom(reqDTO));
    }
/**
   * D3查询可对接成果列表(公共)
   */
    @PostMapping("queryCanDockAchievementListCom")
    public OkrResult<QueryCanDockAchievementListComRespDto> queryCanDockAchievementListCom(@RequestBody @Validated QueryCanDockAchievementListComReqDto reqDTO){
    return OkrResult.success(achievementService.queryCanDockAchievementListCom(reqDTO));
    }
/**
   * D3批量查询成果信息(公共)
   */
    @PostMapping("batchQueryAchievementInfoCom")
    public OkrResult<BatchQueryAchievementInfoComRespDto> batchQueryAchievementInfoCom(@RequestBody @Validated BatchQueryAchievementInfoComReqDto reqDTO){
    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        BatchQueryAchievementInfoComRespDto retData = achievementService.batchQueryAchievementInfoCom(reqDTO);

        retData.setPageNum(page.getPageNum());
        retData.setPageSize(page.getPageSize());
        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);

    }
/**
   * D3批量查询成果版权归属(公共)
   */
    @PostMapping("batchQueryAchievementCopyrightOwningCom")
    public OkrResult<BatchQueryAchievementCopyrightOwningComRespDto> batchQueryAchievementCopyrightOwningCom(@RequestBody @Validated BatchQueryAchievementCopyrightOwningComReqDto reqDTO){
    return OkrResult.success(achievementService.batchQueryAchievementCopyrightOwningCom(reqDTO));
    }
/**
   * D3批量查询对接成果关系by归属目标内容ID(公共)
   */
    @PostMapping("batchQueryAchievementDockingByTargetCycleContentIdCom")
    public OkrResult<BatchQueryAchievementDockingByTargetCycleContentIdComRespDto> batchQueryAchievementDockingByTargetCycleContentIdCom(@RequestBody @Validated BatchQueryAchievementDockingByTargetCycleContentIdComReqDto reqDTO){
    return OkrResult.success(achievementService.batchQueryAchievementDockingByTargetCycleContentIdCom(reqDTO));
    }
/**
   * D3查询个人标志性成果列表(公共)
   */
    @PostMapping("queryPersonalSymbolicAchievementsListCom")
    public OkrResult<QueryPersonalSymbolicAchievementsListComRespDto> queryPersonalSymbolicAchievementsListCom(@RequestBody @Validated QueryPersonalSymbolicAchievementsListComReqDto reqDTO){
    return OkrResult.success(achievementService.queryPersonalSymbolicAchievementsListCom(reqDTO));
    }
/**
   * D3分析成果冗余状态(公共)
   */
    @PostMapping("analysisAchiveStateCodeCom")
    public OkrResult<AnalysisAchiveStateCodeComRespDto> analysisAchiveStateCodeCom(@RequestBody @Validated AnalysisAchiveStateCodeComReqDto reqDTO){
    return OkrResult.success(achievementService.analysisAchiveStateCodeCom(reqDTO));
    }
/**
   * D3修改成果冗余状态(公共)
   */
    @PostMapping("updateAchiveStateCodeCom")
    public OkrResult<UpdateAchiveStateCodeComRespDto> updateAchiveStateCodeCom(@RequestBody @Validated UpdateAchiveStateCodeComReqDto reqDTO){
    return OkrResult.success(achievementService.updateAchiveStateCodeCom(reqDTO));
    }
/**
   * D3查询个人成果库列表(公共)
   */
    @PostMapping("queryPersonalAchievementsListCom")
    public OkrResult<QueryPersonalAchievementsListComRespDto> queryPersonalAchievementsListCom(@RequestBody @Validated QueryPersonalAchievementsListComReqDto reqDTO){
    return OkrResult.success(achievementService.queryPersonalAchievementsListCom(reqDTO));
    }
/**
   * D3执行初始化成果团队成员(公共)
   */
    @PostMapping("implementIniAchievementTeamMemberCom")
    public OkrResult<ImplementIniAchievementTeamMemberComRespDto> implementIniAchievementTeamMemberCom(@RequestBody @Validated ImplementIniAchievementTeamMemberComReqDto reqDTO){
    return OkrResult.success(achievementService.implementIniAchievementTeamMemberCom(reqDTO));
    }
/**
   * D3删除目标下成果(公共)
   */
    @PostMapping("deleteResultsUnderTargetCom")
    public OkrResult<DeleteResultsUnderTargetComRespDto> deleteResultsUnderTargetCom(@RequestBody @Validated DeleteResultsUnderTargetComReqDto reqDTO){
    return OkrResult.success(achievementService.deleteResultsUnderTargetCom(reqDTO));
    }
/**
   * D3新增成果业务处理(公共)
   */
    @PostMapping("addAchievementBusinessHandleCom")
    public OkrResult<AddAchievementBusinessHandleComRespDto> addAchievementBusinessHandleCom(@RequestBody @Validated AddAchievementBusinessHandleComReqDto reqDTO){
    return OkrResult.success(achievementService.addAchievementBusinessHandleCom(reqDTO));
    }
/**
   * D3新增目标下汇报成果(公共)
   */
    @PostMapping("addResultsUnderTargetCom")
    public OkrResult<AddResultsUnderTargetComRespDto> addResultsUnderTargetCom(@RequestBody @Validated AddResultsUnderTargetComReqDto reqDTO){
    return OkrResult.success(achievementService.addResultsUnderTargetCom(reqDTO));
    }
/**
   * D3执行删除成果判断(公共)
   */
    @PostMapping("implementDeleteAchieveCom")
    public OkrResult<ImplementDeleteAchieveComRespDto> implementDeleteAchieveCom(@RequestBody @Validated ImplementDeleteAchieveComReqDto reqDTO){
    return OkrResult.success(achievementService.implementDeleteAchieveCom(reqDTO));
    }
/**
   * D3执行分析成果版权归属对象(公共)
   */
    @PostMapping("implementAnalyzeAchievementCopyrightOwnInfoCom")
    public OkrResult<ImplementAnalyzeAchievementCopyrightOwnInfoComRespDto> implementAnalyzeAchievementCopyrightOwnInfoCom(@RequestBody @Validated ImplementAnalyzeAchievementCopyrightOwnInfoComReqDto reqDTO){
    return OkrResult.success(achievementService.implementAnalyzeAchievementCopyrightOwnInfoCom(reqDTO));
    }
/**
   * D3批量查询成果及相关信息(公共)
   */
    @PostMapping("batchQueryAchievementRelevantInfoCom")
    public OkrResult<BatchQueryAchievementRelevantInfoComRespDto> batchQueryAchievementRelevantInfoCom(@RequestBody @Validated BatchQueryAchievementRelevantInfoComReqDto reqDTO){
    return OkrResult.success(achievementService.batchQueryAchievementRelevantInfoCom(reqDTO));
    }
/**
   * D3批量查询成果by创建人(公共)
   */
    @PostMapping("batchQueryAchievementByCreateInductionIdCom")
    public OkrResult<BatchQueryAchievementByCreateInductionIdComRespDto> batchQueryAchievementByCreateInductionIdCom(@RequestBody @Validated BatchQueryAchievementByCreateInductionIdComReqDto reqDTO){
    return OkrResult.success(achievementService.batchQueryAchievementByCreateInductionIdCom(reqDTO));
    }
}
